package jgl.vajra.kingkong.part.vehicle.model;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.part.vehicle.contract.EditAddressContract;
import jgl.vajra.kingkong.widget.manager.RxJavaHttpManager;
import jgl.vajra.kingkong.widget.manager.retrofit.RetrofitJsonManager;

public class EditAddressModel extends EditAddressContract.Model{
    @Override
    public Observable<String> addAddressData(Map<String, Object> map,String authorization) {
        return RetrofitJsonManager.getInstance().getApiService().addAddressData(map,authorization)
                .compose(RxJavaHttpManager.applyTransformer());
    }
}
